package com.yenroc.invoice.service;


import com.yenroc.invoice.pojo.CommonInvoiceDTO;
import com.yenroc.invoice.pojo.CreateInvoiceResult;

public interface InvoiceService {
    /**
     * 数字化电子发票创建
     *
     * @param createDTO {@link CommonInvoiceDTO CommonInvoiceDTO.subclass}
     * @return CreateInvoiceResult
     */
    <T extends CommonInvoiceDTO> CreateInvoiceResult createInvoice(T createDTO);
}